package com.opgea.crm.web.modal;

import com.opgea.crm.domain.entities.security.CrmUser;
import com.opgea.crm.domain.entities.security.ResourceDetails;

public class UserSessionDetails {

	private CrmUser user;
	private ResourceDetails resourceDetails;
	public CrmUser getUser() {
		return user;
	}
	public UserSessionDetails(CrmUser user, ResourceDetails resourceDetails) {
		super();
		this.user = user;
		this.resourceDetails = resourceDetails;
	}
	public void setUser(CrmUser user) {
		this.user = user;
	}
	public ResourceDetails getResourceDetails() {
		return resourceDetails;
	}
	public void setResourceDetails(ResourceDetails resourceDetails) {
		this.resourceDetails = resourceDetails;
	}
	
	@Override
	public String toString() {
		return "UserSessionDetails [user=" + user + ", resourceDetails="
				+ resourceDetails + "]";
	}	
}
